package com.hf.healthy_life.service;

import com.hf.healthy_life.pojo.User;
import org.springframework.stereotype.Service;


public interface UserService {
    User login(String username, String password);

    int register(String username, String phone, String password);

    User getUserInfo(Long userId);

    int editPassword(User  user);

    int updateUserInfo(User user);
}
